package com.china.zhuoyue.ui.tool.image.select.service

import com.china.zhuoyue.ui.tool.image.select.domain.ImageSelectBean


interface IImageSelect {
    fun selectImage(config: (ImageUploadUBuilder.() -> Unit)? = null)
}

typealias OnUploadSuccessListener = ((MutableList<ImageSelectBean>?) -> Unit)?
typealias OnCancelSuccessListener = (() -> Unit)?

class ImageUploadUBuilder {
    var onUploadSuccessListener: OnUploadSuccessListener = null
    var onCancelSuccessListener: OnCancelSuccessListener = null
    var cutOut = false
    var isMultipleChoice = true
    var isUp = false
    var isCompress = true
    var selectCount = 9
    var columnCount = 3
    var md5 = false
}